namespace ORS.OrderRobot.ServiceContracts.Dtos
{
    public enum ProxyType
    {
        Http,
        Socks5
    }
    /// <summary>
    /// 代理信息
    /// </summary>
    public class ProxyInfo
    {
        public string Host { get; set; } = string.Empty;
        public int Port { get; set; }
        public string? Username { get; set; }
        public string? Password { get; set; }
        public ProxyType Type { get; set; } = ProxyType.Http;
        public override string ToString() => $"{Host}:{Port}";

    }
} 